package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.RankingBoardTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class PageRankingBoardListByTypeVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "排行榜名称")
    private String name;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "榜单人数")
    private Integer listNumber;

    @ApiModelProperty(value = "关联藏品名称")
    private String linkColectionName;

    @ApiModelProperty(value = "是否开启 0:未开启 1:已开启")
    private Boolean isEnable;

    @ApiModelProperty(value = "是否开启奖励 0:未开启 1:已开启")
    private Boolean isOpenRewards;

    @ApiModelProperty(value = "排序 越大越靠前")
    private Integer sort;

    @ApiModelProperty(value = "类型: POSITION_RANKING:持仓排行榜 IP_MALL_TRADING:IP商城交易排行榜")
    private RankingBoardTypeEnum type;

    @ApiModelProperty(value = "最小数量(持仓数量/交易额)")
    private Integer minimumQuantity;

    @ApiModelProperty(value = "规则说明(url)")
    private String ruleSpecification;
}
